remove last character from string javascript

join shbcf.ru